/**
 * 描述：SSO子系统管理
 * @Author ${author}
 * @mail ${mail}
 * @Date ${date}
 */
import fetch from '@/utils/fetch';

const LsjUserApi = {
    getPageList (params) {
        return fetch({
            url: '/api/lsjUser/page',
            method: 'get',
            params: params
        });
    },
    getDetail (id) {
        return fetch({
            url: '/api/lsjUser/' + id,
            method: 'get'
        });
    },
    add (data) {
        return fetch({
            url: '/api/lsjUser/',
            method: 'post',
            data: data
        });
    },
    update (id, data) {
        return fetch({
            url: '/api/lsjUser/' + id,
            method: 'put',
            data: data
        });
    },
    del (data) {
        return fetch({
            url: '/api/lsjUser',
            method: 'delete',
            data: data
        });
    }
};
export default LsjUserApi;
